<script id="template_item_selector_body" type="text/html">
    <%
    for(var i=0;i<data.length;i++){
        var item = data[i];
    %>
    <tr data-pid="<%=item.num_iid%>">
        <% if(select_type=='checkbox'){%>
            <td style="padding-left: 0px;width: 10%;">
                <input type="checkbox" class="selectProduct" value="<%=item.num_iid%>">
            </td>
        <%}%>
        <td class="product_title">
            <img alt="" src="<%=item.pic_url%>" style="float:left;" height="80" width="80">
            <div style="display:inline-block;width:250px;margin-top: 15px;position:relative;">
                <a style="text-align:left;display:inline-block;width:250px;line-height: 25px;" target="_blank" href="https://item.taobao.com/item.htm?id=<%=item.num_iid%>"><%=item.title%></a>
                <span class="price" style="position:absolute;right:5px;top:25px;">￥<%=item.price%></span>
            </div>
        </td>
        <td class="center"><%=item.quantity%></td>
        <td class="center"><%=item.sales_count%></td>
        <td class="center"><%=item.publish_time%></td>
        <% if(select_type=='button'){%>
            <td class="center">
                <a href="/promote/manual_creative?id=<%=item.num_iid%>&campaign_id=<%=campaign_id%>" style="margin-right:70px;" class="textBtn buttonNext " data-pid="<%=item.num_iid%>" >推广此宝贝</a>
            </td>
        <%}%>
    </tr>
    <%}%>
</script>
